package com.jame.basics.reflect;

/**
 * @author : Jame
 * @date : 2021-01-06 17:28
 **/
public class MyDog {
    public String name;
    private int age;
    private int sex;
    private String likeFood;
    private MyDog girlfriend;


    public MyDog() {
    }

    public MyDog(String name, int age, int sex, String likeFood, MyDog girlfriend) {
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.likeFood = likeFood;
        this.girlfriend = girlfriend;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getLikeFood() {
        return likeFood;
    }

    public void setLikeFood(String likeFood) {
        this.likeFood = likeFood;
    }

    public MyDog getGirlfriend() {
        return girlfriend;
    }

    public void setGirlfriend(MyDog girlfriend) {
        this.girlfriend = girlfriend;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


}
